﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Infrastructure
{
    public class ApiActionResult<T>
    {
        public ApiActionResult()
        {
            this.Messages = new List<ApiActionMessage>();
            this.IsSuccess = true;
        }

        public bool IsSuccess { get; set; }

        public string Code { get; set; }

        public T Data { get; set; }

        public List<ApiActionMessage> Messages { get; set; }
    }
}
